//
//  HeadHelp.h
//  CGWSWW
//
//  Created by lanou3g on 16/8/12.
//  Copyright © 2016年 CXG. All rights reserved.
//

#ifndef HeadHelp_h
#define HeadHelp_h
//宏定义宽高
#define KScreen_Width [UIScreen mainScreen].bounds.size.width
#define KScreen_Height [UIScreen mainScreen].bounds.size.height
//扩展方法
#import "UIImage+XWExtension.h"
#import "UIView+XWExtension.h"
#import "UIImage+XWExtension.h"
#import "UIBarButtonItem+XWExtension.h"
#import "XWMusicIndicator.h"
//颜色
#define XWColorA(r,g,b,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)/255.0];
#define HColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define XWColor(r,g,b) XWColorA(r,g,b,255)
#define XWRandomColor XWColor(arc4random_uniform(255),arc4random_uniform(255),arc4random_uniform(255))
#define XWCommonColor [UIColor colorWithRed:198/255.0 green:198/255.0 blue:198/255.0 alpha:1]


#define XWMainColor HColor(252,12,68)
#define XWNumColor HColor(148,145,144)
#define XWTextColor HColor(45,46,47)
#define XWArtistColor HColor(110,111,112)
#define XWTintColor [XWMusicIndicator shareIndicator].tintColor

/*-----font-----*/
#define XWTitleFont [UIFont systemFontOfSize:20.0]
#define XWBigFont [UIFont systemFontOfSize:15.0]
#define XWMiddleFont [UIFont systemFontOfSize:13.0]
#define XWSmallFont [UIFont systemFontOfSize:10.0]
/*-----Spacing-----*/
#define XWHorizontalSpacing 20

#define XWCommonSpacing 10

#define XWVerticalSpacing 5



#define XWLogFunc NSLog(@"%s",__func__);
#import <Masonry.h>
#endif /* HeadHelp_h */
